package com.hxzy.mapper;
import com.hxzy.dto.back.MerchandiseSearchDTO;
import com.hxzy.entity.Merchandise;
import java.util.List;

import com.hxzy.vo.back.ProductVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.math.BigDecimal;

/**
* @Author wy
* @Description 商品信息 数据访问
* @Date 2023-04-18
* @Version 1.0
*/
@Mapper
public interface MerchandiseMapper extends MyBatisBaseDao<Merchandise,BigDecimal> {

    /**
    * 分页查询
    * @param dto
    * @return
    */
    List<ProductVO> search(@Param(value = "dto") MerchandiseSearchDTO dto);
}